package org.lys.generic;

import java.util.Set;

/**
 * 泛型类型
 * @author LYS
 *
 * @param <T>
 */
public class GenericDAO<T>{

	public void add(T t){
		
	}
	
	public void delete(T t){
		
	}
	
	public void delete(int id){
		
	}
	
	public void update(T t){
		
	}
	
	public T findById(int id){
		return null;
	}
	
	public Set<T> findByConditions(String where){
		return null;
	}
}
